// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 
// Source File Name:   SourceFile

package com.sgame.android.util;

import android.content.Context;
import android.widget.Toast;
import com.sgame.android.MLog;

public final class MessageBox
{

    private MessageBox(Context context, int i)
    {
        this(context, context.getString(i));
    }

    private MessageBox(Context context, String s)
    {
    	MLog.i("MBToast", (new StringBuilder("Creating toast: ")).append(s).toString());
        a = Toast.makeText(context, s, 0);
        a.setGravity(49, 0, 0);
    }

    public final void show()
    {
        a.show();
    }

    public static MessageBox show(Context context, int i)
    {
        return new MessageBox(context, i);
    }

    public static MessageBox show(Context context, String s)
    {
        return new MessageBox(context, s);
    }

    Toast a;
}
